--[[*********************************************
	UI事件
*********************************************--]]
EVENT = {}
--摄像机
EVENT.CAMERA_SWITCH = 'CAMERA_SWITCH'
EVENT.RESOURCE_UPDATE = "RESOURCE_UPDATE"

EVENT.UI_HERO_SHOW_BG_LOAD_DONE = "UI_HERO_SHOW_BG_LOAD_DONE"
EVENT.UI_HERO_MODEL_SHOW = "UI_HERO_MODEL_SHOW"
EVENT.UI_HERO_MODEL_SHOW_SUCCESS = "UI_HERO_MODEL_SHOW_SUCCESS"
EVENT.UI_HERO_MODEL_SHOW_DONE = "UI_HERO_MODEL_SHOW_DONE"
EVENT.UI_HERO_MODEL_HIDE = "UI_HERO_MODEL_HIDE"
EVENT.UI_HERO_MODEL_UPGRADE = 'UI_HERO_MODEL_UPGRADE'
EVENT.UI_HERO_MODEL_BREAK = 'UI_HERO_MODEL_BREAK'

--tcp
EVENT.SYS_TCP_CONNECT_FINISH = "sys_tcp_connect_success";
EVENT.SYS_TCP_DISCONNECTED = "sys_tcp_disconnected";
EVENT.SYS_TCP_CHANNEL_ERROR = "sys_tcp_channel_error";
EVENT.SYS_TCP_RECEIVE_MSG = "sys_tcp_receive_msg";
EVENT.SYS_TCP_RECEIVE_ERR = "SYS_TCP_RECEIVE_ERR";

EVENT.LOGIN_RESP = "LOGIN_RESP"
EVENT.RECONNECT_RESP = "RECONNECT_RESP"
EVENT.BATTLE_RESP = "BATTLE_RESP"

--Chat
EVENT.CHAT_APPEND_EMOJI = 'CHAT_APPEND_EMOJI'
EVENT.HIDE_CLIP_BOARD = 'HIDE_CLIP_BORAD'

--versionManager
EVENT.UNZIP_PROGRESS = "UNZIP_PROGRESS";
EVENT.CHECK_CONFIGMD5_PROGRESS = "CHECK_CONFIGMD5_PROGRESS";
EVENT.STATIC_RES_UPDATE = 'STATIC_RES_UPDATE'

--ViewManager
EVENT.SHOW_HIDE_ALL_VIEW = 'SHOW_HIDE_ALL_VIEW'
EVENT.WRITE_FILE_ERROR = 'WRITE_FILE_ERROR'

--sceneNode
EVENT.SCENE_NODE_SHOW_BATTLE = "SCENE_NODE_SHOW_BATTLE"
EVENT.SCENE_NODE_BATTLE_LOAD_DONE = "SCENE_NODE_BATTLE_LOAD_DONE"

EVENT.NEXT_DAY_FOLLOWING = "NEXT_DAY_FOLLOWING"

EVENT.TILEMAP_REMOVE_OBJ = "TILEMAP_REMOVE_OBJ"
EVENT.TILEMAP_ADD_OBJ = "TILEMAP_ADD_OBJ"
EVENT.TILEMAP_REMOVE_BLOCK = "TILEMAP_REMOVE_BLOCK"
EVENT.TILEMAP_REMOVE_TILE = "TILEMAP_REMOVE_TILE"
EVENT.TILEMAP_ADD_TILE = "TILEMAP_ADD_TILE"
EVENT.TILEMAP_SHOW_LOG = "TILEMAP_SHOW_LOG"
EVENT.TILEMAP_SHOW_OBJ_IN_FOG = 'TILEMAP_SHOW_OBJ_IN_FOG'
EVENT.TILEMAP_RELOAD = 'TILEMAP_RELOAD'
EVENT.TILEMAP_EXIT = 'TILEMAP_EXIT'
EVENT.TILEMAP_PICK_RELIC_ANIM = 'TILEMAP_PICK_RELIC_ANIM'
EVENT.TILEMAP_CHANGE_TOP_BAR = 'TILEMAP_CHANGE_TOP_BAR'
EVENT.TILEMAP_SHOW_OR_HIDE_EFFECT = 'TILEMAP_SHOW_OR_HIDE_EFFECT'
EVENT.TILEMAP_PLAY_SPINE_ANIM = 'TILEMAP_PLAY_SPINE_ANIM'
EVENT.TILEMAP_GET_HERO = 'TILEMAP_GET_HERO'
EVENT.TILEMAP_HIDE_SELECT_RELIC = 'TILEMAP_HIDE_SELECT_RELIC'
EVENT.TILEMAP_UNFOG_MAP = 'TILEMAP_UNFOG_MAP'
EVENT.TILEMAP_PLAY_TILE_EFFECT = 'TILEMAP_PLAY_TILE_EFFECT'

--newHero
EVENT.NEWHERO_FASTFORWARDRESULT = 'NEWHERO_FASTFORWARDRESULT'
--newTenHero
EVENT.NEWTENHERO_SHOWSINGLEDETAIL = 'NEWTENHERO_SHOWSINGLEDETAIL'
EVENT.NEWTENHERO_HIDESINGLEDETAIL = 'NEWTENHERO_HIDESINGLEDETAIL'
EVENT.NEWTENHERO_FASTFORWARDRESULT = 'NEWTENHERO_FASTFORWARDRESULT'

EVENT.NEWTENHERO_FASTFORWARDRESULT = 'NEWTENHERO_FASTFORWARDRESULT'

--battle
EVENT.BATTLE_POPUPTEXT = 'BATTLE_POPUPTEXT'
EVENT.BATTLE_PLAYSOUND = 'BATTLE_PLAYSOUND'
EVENT.BATTLE_SOLDIER_DIE = 'BATTLE_SOLDIER_DIE'
EVENT.BATTLE_SOLDIER_UPDATE_KILL_COUNT = 'BATTLE_SOLDIER_UPDATE_KILL_COUNT'
EVENT.BATTLE_SOLDIER_SHOW_SPINE_TEXT = 'BATTLE_SOLDIER_SHOW_SPINE_TEXT'
EVENT.BATTLE_HERO_HP_CHANGE = "BATTLE_HERO_HP_CHANGE"
EVENT.BATTLE_HERO_NAME_VISIBLE_CHANGE = "BATTLE_HERO_NAME_VISIBLE_CHANGE"
EVENT.BATTLE_HERO_SKILLSPELL = "BATTLE_HERO_SKILLSPELL"
EVENT.BATTLE_HERO_HP_CREATE = "BATTLE_HERO_HP_CREATE"
EVENT.BATTLE_CHANGE_PLAYBACK_SPEED = 'BATTLE_CHANGE_PLAYBACK_SPEED'

EVENT.LABYRINTH_ADD_LABEL = 'LABYRINTH_ADD_LABEL'
EVENT.LABYRINTH_SHOW_LABEL = 'LABYRINTH_SHOW_LABEL'
EVENT.LABYRINTH_REMOVE_LABEL = 'LABYRINTH_REMOVE_LABEL'
EVENT.LABYRINTH_ADD_OBJ_CLICK = 'LABYRINTH_ADD_OBJ_CLICK'
EVENT.LABYRINTH_ADD_BOX_CLICK = 'LABYRINTH_ADD_BOX_CLICK'
EVENT.LABYRINTH_REMOVE_BOX_CLICK = 'LABYRINTH_REMOVE_BOX_CLICK'

--push
EVENT.GAME_PUSHMSG = 'GAME_PUSHMSG'

EVENT.ON_CHAT_DRAG = 'ON_CHAT_DRAG'


--Newbie
EVENT.ON_NEWBIE_CLICK = 'ON_NEWBIE_CLICK'
EVENT.ON_NEWBIE_FULLSCREEN_CLICK = 'ON_NEWBIE_FULLSCREEN_CLICK'
EVENT.ON_NEWBIE_SKIP_FULLSCREEN_CLICK = 'ON_NEWBIE_SKIP_FULLSCREEN_CLICK'
EVENT.ON_NEWBIE_DOWN = 'ON_NEWBIE_DOWN'
EVENT.ON_NEWBIE_UP = 'ON_NEWBIE_UP'
EVENT.ON_NEWBIE_DRAG = 'ON_NEWBIE_DRAG'

EVENT.ON_TRAINING_SHOW = 'ON_TRAINING_SHOW'

EVENT.ON_HIDE_BATTLEUI = 'ON_HIDE_BATTLEUI'

EVENT.ON_MAZE_CAM_ANIM = 'ON_MAZE_CAM_ANIM'
--Feast
EVENT.FESTIVAL_COME_GONE = 'FESTIVAL_COME_GONE'

EVENT.GUILD_TRIAL_ENTER_FAIL = 'GUILD_TRIAL_ENTER_FAIL'

EVENT.FESTIVAL_ARENA_SHOW_EFFECT = 'FESTIVAL_ARENA_SHOW_EFFECT'

EVENT.TRAINING_ACTIVE_HIGHER = 'TRAINING_ACTIVE_HIGHER'
EVENT.TRAINING_LEVEL_HIGHER = 'TRAINING_LEVEL_HIGHER'
EVENT.TRAINING_LEVEL_HIGHER_BREAK = 'TRAINING_LEVEL_HIGHER_BREAK'

EVENT.TIME_LIMIT_BUILDING_CLOSE = 'TIME_LIMIT_BUILDING_CLOSE'
--Dig
EVENT.DIG_WASH_CARD = 'DIG_WASH_CARD'
EVENT.DIG_CHANGE_GOODS = 'DIG_CHANGE_GOODS'
EVENT.DIG_SHUFFLE_NEXT_LAYER = 'DIG_SHUFFLE_NEXT_LAYER'
EVENT.DIG_START_NEXT_LAYER = 'DIG_START_NEXT_LAYER'
EVENT.DIG_BIG = 'DIG_BIG'
EVENT.DIG_COST_COIN = "COST_COIN"

--Pet
EVENT.PET_GARDEN_LEVELUP_ATTRIBUTE_DIFF = 'PET_GARDEN_LEVELUP_ATTRIBUTE_DIFF'

--Legion
EVENT.LEGION_HP_CHANGE = 'LEGION_HP_CHANGE'
EVENT.LEGION_STATE_CHANGE = 'LEGION_STATE_CHANGE'
EVENT.LEGION_BATTLE_CLOSE = 'LEGION_BATTLE_CLOSE'


--Mission
EVENT.MISSION_COMPLETE = 'MISSION_COMPLETE'

